package org.xiaojinlong.exam;

/**
 * @author Jin Long
 *         2015/10/17
 */
public class T15101702 {
    public static void divide(int a, int b) {
        int quo = 0, rem;
        while (a > b) {
            a = a - b;
            quo++;
        }
        rem = a;
        System.out.println("quo: " + quo + " rem: " + rem);
    }

    public static void main(String[] args) {
        divide(7, 3);
    }
}
